<?php

// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\Route;

Route::rule('register', 'admin/Login/index', 'GET|POST');
Route::rule('homepage', 'admin/Index/index', 'GET|POST');
Route::rule('pass', 'admin/Index/pass', 'GET|POST');
Route::rule('allbill', 'admin/Num/allnum', 'GET|POST');
Route::rule('backconfig', 'admin/Config/backconfig', 'GET|POST');
//-------------------------------------------
Route::rule('adduser', 'admin/Users/addusers', 'GET|POST');
Route::rule('allocation', 'admin/Auth/allocation', 'GET|POST');
Route::rule('parameter', 'admin/Notice/index', 'GET|POST');
Route::rule('manage', 'admin/Role/manage', 'GET|POST');
Route::rule('updaterole', 'admin/Role/updaterole', 'GET|POST');
Route::rule('addrole', 'admin/Role/addrole', 'GET|POST');
Route::rule('updatetree', 'admin/Role/updatetree', 'GET|POST');
Route::rule('addtree', 'admin/Role/addtree', 'GET|POST');
//-------------------------------------------
Route::rule('addnum', 'admin/Num/addnum', 'GET|POST');
Route::rule('update', 'admin/Num/update', 'GET|POST');
Route::rule('alertview', 'admin/Num/alertview', 'GET|POST');
Route::rule('statistics', 'admin/Statistic/index', 'GET|POST');
//-------------------------------------------
Route::rule('addnums', 'api/Index/index', 'GET|POST');


Route::rule('tree', 'admin/Tree/index', 'GET|POST');
